home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 2
/
United Public Domain Gold 2.iso
/
utilities
/
pu453.dms
/
pu453.adf
/
extras
/
basic_sources
/
kcsnote.bas
< prev
next >
Wrap
BASIC Source File
|
1992-11-08
|
4KB
|
135 lines
SCREEN 1,640,256,4,2
WINDOW 1,"",(0,0)-(621,240),0,1
REM $option Fdf0:c/Readme.exe,Y+
PALETTE 0,.5,.5,.5
PALETTE 1,.5,.5,.5
PALETTE 2,1,1,1
PALETTE 3,.8,.8,.8
PALETTE 4,.3,.3,.3
PALETTE 5,.7,.7,.7
PALETTE 6,.2,.4,.6
PALETTE 7,.6,.4,.2
PALETTE 15,.65,.65,.65
PALETTE 14,.65,.65,.65
PALETTE 13,1,1,1
PALETTE 12,.95,.95,.95
PALETTE 11,.39,.39,.39
PALETTE 10,.9,.9,.9
PALETTE 9,.26,.52,.78
PALETTE 8,.78,.52,.26
LOCATE 1,1 : PRINT "@"
FOR x = 1 TO 8
FOR y = 1 TO 8
ks = ks + POINT(x,y)
NEXT y
NEXT x
IF ks = 22 THEN kick = 2 ELSE kick = 1
CLS
FOR x = 310 TO 0 STEP -20
y = (x/310)*120
LINE (x,y)-(620-x,240-y),3,b
LINE (ox,oy)-(620-ox,240-oy),0,b
ox = x : oy = y
NEXT x
CLS
PRINT " ";
COLOR 2,5
PRINT "KCS Software v4.150 (Amiga + PC Disks)"
COLOR 5,0
PRINT ""
PRINT " Imported and brought to you by .."
PRINT " ";
COLOR 7,5
PRINT "David Alan Caruana"
COLOR 5,0
PRINT ""
PRINT " KCS Power-PC-Board users please contact me :"
PRINT " `Blossom`,Acacia Str., San Gwann SGN03, MALTA"
PRINT ""
PRINT " ";
COLOR 6,5
PRINT "Important info :"
COLOR 5,0
PRINT " RAmiga + [P] : Pause"
PRINT " RAmiga + [(]/[)] keypad : Flicker Fixer"
PRINT " RAmiga + [+]/[-] keypad : CPU Speed"
PRINT " RAmiga + [8]/[2] keypad : Herc40 / Herc80"
PRINT " RAmiga + [4]/[6] keypad : Scroll Herc40"
PRINT " RAmiga + [*] keypad : Max CPU Speed"
PRINT " RAmiga + [Help] : Menu"
PRINT ""
PRINT " New features in this version : "
PRINT " ALL VGA/MCGA/EGA/CGA/Hercules/Tandy modes supported"
PRINT " (MCGA is emulated in 16-greyscale)"
PRINT " A590 SCSI driver (finally) debugged !!"
PRINT " EMS / XMS support (.SYS drivers included)"
PRINT " Better sound emulation"
PRINT " Full 16-colors in textmode + hires (50 lines)"
PRINT " (AT-Once users .. eat your socks !!)"
PRINT " Scrolling 40-chars hercules textmode"
PRINT " Installable on harddisk + supports most HD`s"
PRINT " + much more stable PC operation !!"
PRINT ""
PRINT " ";
COLOR 3,4
PRINT "Click mouse to get outtahere .. tata from David"
COLOR 5,0
LOCATE 29,70 : COLOR 5 : PRINT "-=";:COLOR 4:PRINT "DAC";:COLOR 5:PRINT "=-";
retry:
WHILE MOUSE(0)<>0:WEND
n = 12
DIM dt(n,6)
ck = 0
WHILE MOUSE(0) = 0
x = MOUSE(1)
y = MOUSE(2)
theta = theta + (0.03)
theta2 = theta2 + (0.02)
theta3 = theta3 + (0.021)
s = SIN(theta) : c = COS(theta+0.3)
s1= SIN(theta2+0.4) : c1 = COS(theta2+1.2)
s2= SIN(theta3+1.4) : c2 = COS(theta3+0.2)
s = s ^ 2 : c = c ^ 2
s1 = s1 ^ 2 : c1 = c1 ^ 2
s = s * 620 : c = c * 240
s1 = s1 * 620 : c1 = c1 * 240
s2 = s2 ^ 2 : c2 = c2 ^ 2
s2= s2 * 620 : c2 = c2 * 240
COLOR 1,0,3
LINE (s,c)-(s1,c1)
LINE (s2,c2)-(s1,c1)
LINE (s,c)-(s2,c2)
IF dt(ck,1)<>0 OR dt(ck,3)<>0 THEN
LINE (dt(ck,1),dt(ck,3))-(dt(ck,2),dt(ck,4))
LINE (dt(ck,5),dt(ck,6))-(dt(ck,2),dt(ck,4))
LINE (dt(ck,1),dt(ck,3))-(dt(ck,5),dt(ck,6))
END IF
dt(ck,1) = s
dt(ck,2) = s1
dt(ck,3) = c
dt(ck,4) = c1
dt(ck,5) = s2
dt(ck,6) = c2
ck = (ck+1) MOD n
WEND
SYSTEM
SUB dbox(x1,y1,x2,y2) STATIC
LINE (x1,y1)-(x1,y2),5
LINE (x1+1,y1)-(x1+1,y2),5
LINE (x1,y1)-(x2,y1),5
LINE (x2,y2)-(x2,y1),4
LINE (x2+1,y2)-(x2+1,y1),4
LINE (x2,y2)-(x1,y2),4
END SUB